telegram-crawler/data/promote.telegram.org/js/ogvjs/ogv-decoder-audio-vorbis.js

31 lines
385 KiB
JavaScript
Raw Normal View History

2022-04-10 19:38:18 +02:00
var OGVDecoderAudioVorbis
(function() {
var scriptSrc;
if (typeof document !== 'undefined' && document.currentScript) scriptSrc = document.currentScript.src;
OGVDecoderAudioVorbis = function(OGVDecoderAudioVorbis) {
OGVDecoderAudioVorbis = OGVDecoderAudioVorbis || {};
if (!OGVDecoderAudioVorbis.currentScriptUrl) OGVDecoderAudioVorbis.currentScriptUrl = scriptSrc;
var Module = OGVDecoderAudioVorbis;
var options=Module;Module={print:(function(str){console.log(str)})};if(typeof OGVLoader!=="undefined"){Module["pthreadMainPrefixURL"]=OGVLoader.base+"/"}if(options["memoryLimit"]&&!options.wasmBinary){Module["TOTAL_MEMORY"]=options["memoryLimit"]}for(option in options){if(options.hasOwnProperty(option)){Module[option]=options[option]}}var Math_imul_orig=Math.imul;var OGVDecoderAudioVorbis=Module;var Module;if(!Module)Module=(typeof OGVDecoderAudioVorbis!=="undefined"?OGVDecoderAudioVorbis:null)||{};var moduleOverrides={};for(var key in Module){if(Module.hasOwnProperty(key)){moduleOverrides[key]=Module[key]}}var ENVIRONMENT_IS_WEB=false;var ENVIRONMENT_IS_WORKER=false;var ENVIRONMENT_IS_NODE=false;var ENVIRONMENT_IS_SHELL=false;if(Module["ENVIRONMENT"]){if(Module["ENVIRONMENT"]==="WEB"){ENVIRONMENT_IS_WEB=true}else if(Module["ENVIRONMENT"]==="WORKER"){ENVIRONMENT_IS_WORKER=true}else if(Module["ENVIRONMENT"]==="NODE"){ENVIRONMENT_IS_NODE=true}else if(Module["ENVIRONMENT"]==="SHELL"){ENVIRONMENT_IS_SHELL=true}else if(Module["ENVIRONMENT"]==="PTHREAD"){ENVIRONMENT_IS_WORKER=true;ENVIRONMENT_IS_PTHREAD=true}else{throw new Error("The provided Module['ENVIRONMENT'] value is not valid. It must be one of: WEB|WORKER|NODE|SHELL.")}}else{ENVIRONMENT_IS_WEB=typeof window==="object";ENVIRONMENT_IS_WORKER=typeof importScripts==="function";ENVIRONMENT_IS_NODE=typeof process==="object"&&typeof require==="function"&&!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_WORKER;ENVIRONMENT_IS_SHELL=!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_NODE&&!ENVIRONMENT_IS_WORKER}if(ENVIRONMENT_IS_NODE){if(!Module["print"])Module["print"]=console.log;if(!Module["printErr"])Module["printErr"]=console.warn;var nodeFS;var nodePath;Module["read"]=function shell_read(filename,binary){if(!nodeFS)nodeFS=require("fs");if(!nodePath)nodePath=require("path");filename=nodePath["normalize"](filename);var ret=nodeFS["readFileSync"](filename);return binary?ret:ret.toString()};Module["readBinary"]=function readBinary(filename){var ret=Module["read"](filename,true);if(!ret.buffer){ret=new Uint8Array(ret)}assert(ret.buffer);return ret};Module["load"]=function load(f){globalEval(read(f))};if(!Module["thisProgram"]){if(process["argv"].length>1){Module["thisProgram"]=process["argv"][1].replace(/\\/g,"/")}else{Module["thisProgram"]="unknown-program"}}Module["arguments"]=process["argv"].slice(2);if(typeof module!=="undefined"){module["exports"]=Module}process["on"]("uncaughtException",(function(ex){if(!(ex instanceof ExitStatus)){throw ex}}));Module["inspect"]=(function(){return"[Emscripten Module object]"})}else if(ENVIRONMENT_IS_SHELL){if(!Module["print"])Module["print"]=print;if(typeof printErr!="undefined")Module["printErr"]=printErr;if(typeof read!="undefined"){Module["read"]=read}else{Module["read"]=function shell_read(){throw"no read() available"}}Module["readBinary"]=function readBinary(f){if(typeof readbuffer==="function"){return new Uint8Array(readbuffer(f))}var data=read(f,"binary");assert(typeof data==="object");return data};if(typeof scriptArgs!="undefined"){Module["arguments"]=scriptArgs}else if(typeof arguments!="undefined"){Module["arguments"]=arguments}if(typeof quit==="function"){Module["quit"]=(function(status,toThrow){quit(status)})}}else if(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER){Module["read"]=function shell_read(url){var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.send(null);return xhr.responseText};if(ENVIRONMENT_IS_WORKER){Module["readBinary"]=function readBinary(url){var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.responseType="arraybuffer";xhr.send(null);return xhr.response}}Module["readAsync"]=function readAsync(url,onload,onerror){var xhr=new XMLHttpRequest;xhr.open("GET",url,true);xhr.responseType="arraybuffer";xhr.onload=function xhr_onload(){if(xhr.status==200||xhr.status==0&&xhr.response){onload(xhr.response)}else{onerror()}};xhr.onerror=onerror;xhr.send(null)};if(typeof arguments!="undefined"){Module["arguments"]=arguments}if(typeof console!=="undefined"){if(!Module["print"])Module["print"]=function shell_print(x){console.log(x)};if(!Module
var asm=(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,y=0,z=0,A=0,B=0.0;var C=0;var D=global.Math.floor;var E=global.Math.abs;var F=global.Math.sqrt;var G=global.Math.pow;var H=global.Math.cos;var I=global.Math.sin;var J=global.Math.tan;var K=global.Math.acos;var L=global.Math.asin;var M=global.Math.atan;var N=global.Math.atan2;var O=global.Math.exp;var P=global.Math.log;var Q=global.Math.ceil;var R=global.Math.imul;var S=global.Math.min;var T=global.Math.max;var U=global.Math.clz32;var V=env.abort;var W=env.assert;var X=env.enlargeMemory;var Y=env.getTotalMemory;var Z=env.abortOnCannotGrowMemory;var _=env.invoke_iiiii;var $=env.invoke_vi;var aa=env.invoke_vii;var ba=env.invoke_ii;var ca=env.invoke_viii;var da=env.invoke_iiiiiiiii;var ea=env.invoke_iii;var fa=env.invoke_iiiiii;var ga=env._ogvjs_callback_init_audio;var ha=env._llvm_pow_f64;var ia=env._llvm_sqrt_f64;var ja=env._abort;var ka=env.___setErrNo;var la=env._ogvjs_callback_audio;var ma=env._emscripten_memcpy_big;var na=env._exit;var oa=env.__exit;var pa=0.0;
// EMSCRIPTEN_START_FUNCS
function ya(a){a=a|0;var b=0;b=l;l=l+a|0;l=l+15&-16;return b|0}function za(){return l|0}function Aa(a){a=a|0;l=a}function Ba(a,b){a=a|0;b=b|0;l=a;m=b}function Ca(a,b){a=a|0;b=b|0;if(!n){n=a;o=b}}function Da(a){a=a|0;C=a}function Ea(){return C|0}function Fa(b){b=b|0;var d=0;d=b;c[d>>2]=0;c[d+4>>2]=0;d=$c(256)|0;c[b+8>>2]=d;c[b+12>>2]=d;a[d>>0]=0;c[b+16>>2]=256;return}function Ga(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0;do if(f>>>0<=32){g=b+16|0;h=c[g>>2]|0;i=b+12|0;j=c[i>>2]|0;if((c[b>>2]|0)<(h+-4|0))k=j;else{if(!j)return;if((h|0)>2147483391)break;j=b+8|0;l=cd(c[j>>2]|0,h+256|0)|0;if(!l)break;c[j>>2]=l;c[g>>2]=(c[g>>2]|0)+256;g=l+(c[b>>2]|0)|0;c[i>>2]=g;k=g}g=c[152+(f<<2)>>2]&e;l=b+4|0;j=c[l>>2]|0;h=j+f|0;a[k>>0]=d[k>>0]|0|g<<j;if((((h|0)>7?(a[(c[i>>2]|0)+1>>0]=g>>>(8-(c[l>>2]|0)|0),(h|0)>15):0)?(a[(c[i>>2]|0)+2>>0]=g>>>(16-(c[l>>2]|0)|0),(h|0)>23):0)?(a[(c[i>>2]|0)+3>>0]=g>>>(24-(c[l>>2]|0)|0),(h|0)>31):0){j=c[l>>2]|0;a[(c[i>>2]|0)+4>>0]=(j|0)==0?0:g>>>(32-j|0)&255}j=(h|0)/8|0;c[b>>2]=(c[b>>2]|0)+j;c[i>>2]=(c[i>>2]|0)+j;c[l>>2]=h&7;return}while(0);k=c[b+8>>2]|0;if(k|0)ad(k);c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;c[b+12>>2]=0;c[b+16>>2]=0;return}function Ha(a){a=a|0;var b=0;b=c[a+8>>2]|0;if(b|0)ad(b);c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;return}function Ia(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=a;c[e>>2]=0;c[e+4>>2]=0;c[a+12>>2]=b;c[a+8>>2]=b;c[a+16>>2]=d;return}function Ja(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;if(b>>>0>32){e=-1;return e|0}f=c[152+(b<<2)>>2]|0;g=c[a+4>>2]|0;h=g+b|0;b=c[a>>2]|0;i=c[a+16>>2]|0;if((b|0)>=(i+-4|0)){if((b|0)>(i-(h+7>>3)|0)){e=-1;return e|0}if(!h){e=0;return e|0}}i=c[a+12>>2]|0;a=(d[i>>0]|0)>>>g;if((h|0)>8){b=(d[i+1>>0]|0)<<8-g|a;if((h|0)>16){j=(d[i+2>>0]|0)<<16-g|b;if((h|0)>24){k=(d[i+3>>0]|0)<<24-g|j;if((g|0)==0|(h|0)<33)l=k;else l=(d[i+4>>0]|0)<<32-g|k}else l=j}else l=b}else l=a;e=l&f;return e|0}function Ka(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;d=a+4|0;e=(c[d>>2]|0)+b|0;b=c[a>>2]|0;f=c[a+16>>2]|0;if((b|0)>(f-(e+7>>3)|0)){c[a+12>>2]=0;c[a>>2]=f;g=1;c[d>>2]=g;return}else{f=(e|0)/8|0;h=a+12|0;c[h>>2]=(c[h>>2]|0)+f;c[a>>2]=f+b;g=e&7;c[d>>2]=g;return}}function La(a,b){a=a|0;b=b|0;var 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,r=0,s=0,t=0;e=c[a+16>>2]|0;do if(b>>>0>32){f=a+4|0;g=a}else{h=c[152+(b<<2)>>2]|0;i=a+4|0;j=c[i>>2]|0;k=j+b|0;l=c[a>>2]|0;if((l|0)>=(e+-4|0)){if((l|0)>(e-(k+7>>3)|0)){f=i;g=a;break}if(!k){m=0;return m|0}}n=a+12|0;o=c[n>>2]|0;p=(d[o>>0]|0)>>>j;if((k|0)>8){q=(d[o+1>>0]|0)<<8-j|p;if((k|0)>16){r=(d[o+2>>0]|0)<<16-j|q;if((k|0)>24){s=(d[o+3>>0]|0)<<24-j|r;if((j|0)==0|(k|0)<33)t=s;else t=(d[o+4>>0]|0)<<32-j|s}else t=r}else t=q}else t=p;p=(k|0)/8|0;c[n>>2]=o+p;c[a>>2]=l+p;c[i>>2]=k&7;m=t&h;return m|0}while(0);c[a+12>>2]=0;c[g>>2]=e;c[f>>2]=1;m=-1;return m|0}function Ma(a){a=a|0;return (((c[a+4>>2]|0)+7|0)/8|0)+(c[a>>2]|0)|0}function Na(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,l=0,m=0,n=0,o=0,p=0,q=0;d=a+836|0;e=c[a+840>>2]|0;Ga(b,c[a>>2]|0,5);if((c[a>>2]|0)>0){f=a+4|0;g=0;h=-1;do{i=f+(g<<2)|0;Ga(b,c[i>>2]|0,4);j=c[i>>2]|0;h=(h|0)<(j|0)?j:h;g=g+1|0}while((g|0)<(c[a>>2]|0));if((h|0)>=0){g=a+128|0;f=a+192|0;j=a+256|0;i=a+320|0;k=0;while(1){Ga(b,(c[g+(k<<2)>>2]|0)+-1|0,3);l=f+(k<<2)|0;Ga(b,c[l>>2]|0,2);if(!((c[l>>2]|0)!=0?(Ga(b,c[j+(k<<2)>>2]|0,8),(c[l>>2]|0)==31):0)){m=0;n=8}if((n|0)==8)while(1){n=0;Ga(b,(c[i+(k<<5)+(m<<2)>>2]|0)+1|0,8);m=m+1|0;if((m|0)>=(1<<c[l>>2]|0))break;else n=8}if((k|0)==(h|0))break;else k=k+1|0}}}Ga(b,(c[a+832>>2]|0)+-1|0,2);k=e+-1|0;if((e|0)==0|(k|0)==0){Ga(b,0,4);o=0}else{e=0;h=k;do{e=e+1|0;h=h>>>1}while((h|0)!=0);Ga(b,e,4);e=0;h=k;while(1){k=e+1|0;h=h>>>1;if(!h){o=k;break}else e=k}}e=c[a>>2]|0;if((e|0)<=0)return;h=a+128|0;k=a+4|0;n=e;e=0;m=0;i=0;while(1){e=(c[h+(c[k+(m<<2)>>2]<<2)>>2]|0)+e|0;if((i|0)<(e|0)){j=i;do{Ga(b,c[d+(j+2<<2)>>2]|0,o);j=j+1|0}while((j|0)!=(e|0));p=c[a>>2]|0;q=e}else{p=n;q=i}m=m+1|0;if((m|0)>=(p|0))break;else{n=p;i=q}}return}function Oa(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,u=0,v=0,w=0,x=0,y=0,z=0;d=l;l=l+272|0;e=d;f=c[a+28>>2]|
function dc(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.0;d=a+16|0;e=d+40|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(e|0));c[a+12>>2]=b;d=b+4|0;e=c[d>>2]|0;c[a+4>>2]=e;c[a+8>>2]=e;c[a>>2]=c[b>>2];c[a+20>>2]=mc(c[b+8>>2]|0,e,0)|0;e=c[d>>2]|0;d=c[b>>2]|0;if((d|0)<=0)while(1){}f=~~+D(+(+G(+(+(e|0)),+(1.0/+(d|0)))));while(1){g=f+1|0;h=1;i=1;j=0;do{h=R(h,f)|0;i=R(i,g)|0;j=j+1|0}while((j|0)!=(d|0));if((i|0)>(e|0)&(h|0)<=(e|0))break;else f=((h|0)>(e|0)?-1:1)+f|0}c[a+44>>2]=f;f=c[b+16>>2]|0;k=+(f&2097151|0);c[a+48>>2]=~~+_c(+Yc((f|0)<0?-k:k,(f>>>21&1023)+-788|0));f=c[b+20>>2]|0;k=+(f&2097151|0);c[a+52>>2]=~~+_c(+Yc((f|0)<0?-k:k,(f>>>21&1023)+-788|0));return 0}function ec(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.0,k=0.0,l=0.0,m=0,n=0,o=0,p=0,q=0.0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0.0,z=0.0,A=0,B=0,C=0,D=0,E=0,F=0.0;h=a+8|0;c[h>>2]=0;c[h+4>>2]=0;h=c[d>>2]|0;c[a+36>>2]=h;d=~~(+Zc(+P(+(+(h|0)*8.0))*1.4426950408889634)+-1.0);i=a+32|0;c[i>>2]=d;j=+(f|0);k=+(e|0);l=+(1<<d+1|0);d=~~(l*(+P(+(j*.25*.5/k))*1.4426950216293335+-5.965784072875977)-+(h|0));c[a+28>>2]=d;c[a+40>>2]=1-d+~~(l*(+P(+((+(e|0)+.25)*j*.5/k))*1.4426950216293335+-5.965784072875977)+.5);d=e<<2;h=$c(d)|0;c[a+16>>2]=h;m=$c(d)|0;c[a+20>>2]=m;n=$c(d)|0;c[a+24>>2]=n;o=a+4|0;c[o>>2]=b;c[a>>2]=e;c[a+44>>2]=f;p=a+48|0;g[p>>2]=1.0;if((f|0)>=26e3)if((f|0)>=38e3){if((f|0)>46e3){q=1.274999976158142;r=4}}else{q=.9399999976158142;r=4}else{q=0.0;r=4}if((r|0)==4)g[p>>2]=q;q=k*2.0;j=+(f|0);p=0;s=0;a:while(1){t=(s|0)<(e|0);u=p;while(1){v=u;while(1){if((v|0)>=87)break a;w=v+1|0;x=~~+Zc(q*+O(+(+(w|0)*.08664337545633316+2.7488713472395148))/j);if((x|0)>(s|0))break;else v=w}if(t)break;else u=w}l=+g[34192+(v<<2)>>2];y=(+g[34192+(w<<2)>>2]-l)/+(x-s|0);z=l;u=s;while(1){g[h+(u<<2)>>2]=z+100.0;t=u+1|0;if((t|0)<(x|0)&(t|0)<(e|0)){z=z+y;u=t}else{p=w;s=t;continue a}}}if((s|0)<(e|0)){w=c[h+((s<<2)+-4)>>2]|0;p=s;do{c[h+(p<<2)>>2]=w;p=p+1|0}while((p|0)!=(e|0))}p=(e|0)>0;if(p){w=(f|0)/(e<<1|0)|0;f=c[b+120>>2]|0;h=b+124|0;s=b+116|0;x=b+112|0;v=1;u=0;t=-99;while(1){A=R(w,u)|0;y=+(A|0);z=+M(+(+(R(A,A)|0)*1.8499999754340024e-08))*2.240000009536743+ +M(+(y*7.399999885819852e-04))*13.100000381469727+y*9.999999747378752e-05;b:do if((f+t|0)<(u|0)){y=z-+g[x>>2];A=t;while(1){B=R(A,w)|0;l=+(B|0);if(!(+M(+(l*7.399999885819852e-04))*13.100000381469727+l*9.999999747378752e-05+ +M(+(+(R(B,B)|0)*1.8499999754340024e-08))*2.240000009536743<y)){C=A;break b}B=A+1|0;if((f+B|0)<(u|0))A=B;else{C=B;break}}}else C=t;while(0);c:do if((v|0)>(e|0))D=v;else{A=(c[h>>2]|0)+u|0;B=v;while(1){if((B|0)>=(A|0)?(E=R(B,w)|0,y=+(E|0),l=+M(+(y*7.399999885819852e-04))*13.100000381469727+y*9.999999747378752e-05+ +M(+(+(R(E,E)|0)*1.8499999754340024e-08))*2.240000009536743,!(l<+g[s>>2]+z)):0){D=B;break c}E=B+1|0;if((B|0)<(e|0))B=E;else{D=E;break}}}while(0);c[n+(u<<2)>>2]=(C<<16)+-65537+D;u=u+1|0;if((u|0)==(e|0))break;else{v=D;t=C}}if(p){z=j*.5;l=+(1<<(c[i>>2]|0)+1|0);i=0;do{c[m+(i<<2)>>2]=~~(l*(+P(+(z*(+(i|0)+.25)/k))*1.4426950216293335+-5.965784072875977)+.5);i=i+1|0}while((i|0)!=(e|0));F=z}else r=19}else r=19;if((r|0)==19)F=j*.5;c[a+8>>2]=pc(b+36|0,F/k,e,+g[b+24>>2],+g[b+28>>2])|0;b=$c(12)|0;r=a+12|0;c[r>>2]=b;c[b>>2]=$c(d)|0;c[b+4>>2]=$c(d)|0;b=$c(d)|0;c[(c[r>>2]|0)+8>>2]=b;if(!p)return;p=c[o>>2]|0;o=c[r>>2]|0;r=c[o>>2]|0;b=c[o+4>>2]|0;d=c[o+8>>2]|0;o=0;do{k=+P(+((+(o|0)+.5)*j/q))*2.885390043258667+-11.931568145751953;F=k<0.0?0.0:k;k=F>=16.0?16.0:F;a=~~k;F=k-+(a|0);k=1.0-F;i=a+1|0;g[r+(o<<2)>>2]=+g[p+132+(i<<2)>>2]*F+ +g[p+132+(a<<2)>>2]*k;g[b+(o<<2)>>2]=+g[p+200+(i<<2)>>2]*F+ +g[p+200+(a<<2)>>2]*k;g[d+(o<<2)>>2]=+g[p+268+(i<<2)>>2]*F+ +g[p+268+(a<<2)>>2]*k;o=o+1|0}while((o|0)!=(e|0));return}function fc(b,d){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,C=0,D=0,E=0,F=0;e=l;f=b;g=f+56|0;do{c[f>>2]=0;f=f+4|0}while((f|0)<(g|0));h=d+4|0;i=c[h>>2]|0;if((i|0)>0){j=c[d+8>>2]|0;k=0;m=0;while(1){n=((c[j+(k<<2)>>2]|0)>0&1)+m|0;k=k+1|0;if((k|0)>=(i|0)){o=n;break}else m=n}}else o=0;c[b+4>>2]=i;m=b+8|0;c[m>>2]=o;c[b>>2]=c[d>>2];if((o|0)<=0){p=0;l=e;return p|0}k=d+8|0;j=mc(c[k>>2]|0
// EMSCRIPTEN_END_FUNCS
var qa=[vd,Ta,bb,kb,qb,vd,vd,vd];var ra=[wd,Qa,Ra,_a,$a,hb,ib,zb];var sa=[xd,Na,mb,xd];var ta=[yd,Ab];var ua=[zd,xb];var va=[Ad,ob,ub,Ad];var wa=[Bd,Oa,Pa,Sa,Ya,Za,ab,fb,gb,yb,Bb,Xa,Qb,nc,Bd,Bd];var xa=[Cd,jb,nb,pb,tb,vb,Cd,Cd];return{_llvm_bswap_i32:kd,getTempRet0:Ea,setThrew:Ca,_bitshift64Shl:jd,_memset:id,_ogv_audio_decoder_process_header:Gc,_sbrk:ld,_memcpy:md,stackAlloc:ya,_i64Subtract:gd,setTempRet0:Da,_i64Add:hd,_emscripten_get_global_libc:Kc,stackSave:za,_free:ad,runPostSets:fd,_ogv_audio_decoder_destroy:Ic,_ogv_audio_decoder_init:Fc,establishStackSpace:Ba,stackRestore:Aa,_malloc:$c,_ogv_audio_decoder_process_audio:Hc,stackAlloc:ya,stackSave:za,stackRestore:Aa,establishStackSpace:Ba,setThrew:Ca,setTempRet0:Da,getTempRet0:Ea,dynCall_iiiii:nd,dynCall_vi:od,dynCall_vii:pd,dynCall_ii:qd,dynCall_viii:rd,dynCall_iiiiiiiii:sd,dynCall_iii:td,dynCall_iiiiii:ud}})
// EMSCRIPTEN_END_ASM
(Module.asmGlobalArg,Module.asmLibraryArg,buffer);var _llvm_bswap_i32=Module["_llvm_bswap_i32"]=asm["_llvm_bswap_i32"];var getTempRet0=Module["getTempRet0"]=asm["getTempRet0"];var setThrew=Module["setThrew"]=asm["setThrew"];var _bitshift64Shl=Module["_bitshift64Shl"]=asm["_bitshift64Shl"];var _memset=Module["_memset"]=asm["_memset"];var _ogv_audio_decoder_process_header=Module["_ogv_audio_decoder_process_header"]=asm["_ogv_audio_decoder_process_header"];var _sbrk=Module["_sbrk"]=asm["_sbrk"];var _memcpy=Module["_memcpy"]=asm["_memcpy"];var stackAlloc=Module["stackAlloc"]=asm["stackAlloc"];var _i64Subtract=Module["_i64Subtract"]=asm["_i64Subtract"];var setTempRet0=Module["setTempRet0"]=asm["setTempRet0"];var _i64Add=Module["_i64Add"]=asm["_i64Add"];var _emscripten_get_global_libc=Module["_emscripten_get_global_libc"]=asm["_emscripten_get_global_libc"];var stackSave=Module["stackSave"]=asm["stackSave"];var _free=Module["_free"]=asm["_free"];var runPostSets=Module["runPostSets"]=asm["runPostSets"];var _ogv_audio_decoder_destroy=Module["_ogv_audio_decoder_destroy"]=asm["_ogv_audio_decoder_destroy"];var _ogv_audio_decoder_init=Module["_ogv_audio_decoder_init"]=asm["_ogv_audio_decoder_init"];var establishStackSpace=Module["establishStackSpace"]=asm["establishStackSpace"];var stackRestore=Module["stackRestore"]=asm["stackRestore"];var _malloc=Module["_malloc"]=asm["_malloc"];var _ogv_audio_decoder_process_audio=Module["_ogv_audio_decoder_process_audio"]=asm["_ogv_audio_decoder_process_audio"];var dynCall_iiiii=Module["dynCall_iiiii"]=asm["dynCall_iiiii"];var dynCall_vi=Module["dynCall_vi"]=asm["dynCall_vi"];var dynCall_vii=Module["dynCall_vii"]=asm["dynCall_vii"];var dynCall_ii=Module["dynCall_ii"]=asm["dynCall_ii"];var dynCall_viii=Module["dynCall_viii"]=asm["dynCall_viii"];var dynCall_iiiiiiiii=Module["dynCall_iiiiiiiii"]=asm["dynCall_iiiiiiiii"];var dynCall_iii=Module["dynCall_iii"]=asm["dynCall_iii"];var dynCall_iiiiii=Module["dynCall_iiiiii"]=asm["dynCall_iiiiii"];Runtime.stackAlloc=Module["stackAlloc"];Runtime.stackSave=Module["stackSave"];Runtime.stackRestore=Module["stackRestore"];Runtime.establishStackSpace=Module["establishStackSpace"];Runtime.setTempRet0=Module["setTempRet0"];Runtime.getTempRet0=Module["getTempRet0"];Module["asm"]=asm;Module["then"]=(function(func){if(Module["calledRun"]){func(Module)}else{var old=Module["onRuntimeInitialized"];Module["onRuntimeInitialized"]=(function(){if(old)old();func(Module)})}return Module});function ExitStatus(status){this.name="ExitStatus";this.message="Program terminated with exit("+status+")";this.status=status}ExitStatus.prototype=new Error;ExitStatus.prototype.constructor=ExitStatus;var initialStackTop;var preloadStartTime=null;var calledMain=false;dependenciesFulfilled=function runCaller(){if(!Module["calledRun"])run();if(!Module["calledRun"])dependenciesFulfilled=runCaller};Module["callMain"]=Module.callMain=function callMain(args){args=args||[];ensureInitRuntime();var argc=args.length+1;function pad(){for(var i=0;i<4-1;i++){argv.push(0)}}var argv=[allocate(intArrayFromString(Module["thisProgram"]),"i8",ALLOC_NORMAL)];pad();for(var i=0;i<argc-1;i=i+1){argv.push(allocate(intArrayFromString(args[i]),"i8",ALLOC_NORMAL));pad()}argv.push(0);argv=allocate(argv,"i32",ALLOC_NORMAL);try{var ret=Module["_main"](argc,argv,0);exit(ret,true)}catch(e){if(e instanceof ExitStatus){return}else if(e=="SimulateInfiniteLoop"){Module["noExitRuntime"]=true;return}else{var toLog=e;if(e&&typeof e==="object"&&e.stack){toLog=[e,e.stack]}Module.printErr("exception thrown: "+toLog);Module["quit"](1,e)}}finally{calledMain=true}};function run(args){args=args||Module["arguments"];if(preloadStartTime===null)preloadStartTime=Date.now();if(runDependencies>0){return}preRun();if(runDependencies>0)return;if(Module["calledRun"])return;function doRun(){if(Module["calledRun"])return;Module["calledRun"]=true;if(ABORT)return;ensureInitRuntime();preMain();if(Module["onRuntimeInitialized"])Module["onRuntimeInitialized"]();if(Module["_main"]&&shouldRunNow)Module["callMain"](args);postRun()}if(Module["setStatus"]){
return OGVDecoderAudioVorbis;
};
})();